package com.monitorStudy.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author: Alan
 * @date: 2021/5/14 0:09
 */
@Component
@Data
public class AppConfig {

    @Value("${spring.application.name}")
    String applicationName;

    @Value("${pushgateway.ip}")
    String pushgateway;



}
